<?php
class PNDistrictArray extends PNObjectExArray {
  function PNDistrictArray($init=null, $where='')
  {
    $this->PNObject();

    $this->_objType       = 'icarrent_district';
    $this->_objField      = 'id';
    $this->_objPath       = 'form';

    $this->_init($init, $where);
  }

  function genFilter(){
    $province_id = FormUtil::getPassedValue ('province_id', false);

    $where = "";
    if($province_id){
      $where = "dis_prov_id  = ".$province_id;
    }
    return $where;
  }

}